package com.jsb.mapper;

import com.jsb.model.Gainmedal;
import com.jsb.model.GainmedalExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GainmedalMapper {
    int countByExample(GainmedalExample example);

    int deleteByExample(GainmedalExample example);

    int deleteByPrimaryKey(String phone);

    int insert(Gainmedal record);

    int insertSelective(Gainmedal record);

    List<Gainmedal> selectByExample(GainmedalExample example);

    Gainmedal selectByPrimaryKey(String phone);

    int updateByExampleSelective(@Param("record") Gainmedal record, @Param("example") GainmedalExample example);

    int updateByExample(@Param("record") Gainmedal record, @Param("example") GainmedalExample example);

    int updateByPrimaryKeySelective(Gainmedal record);

    int updateByPrimaryKey(Gainmedal record);

    List<Gainmedal> selectPage(GainmedalExample example);
}